//
//  CommonDataListViewController.h
//  Utils
//
//  Created by enghou on 2018/4/14.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

//该类主要用于对一些常见的数据列表获取数据的动作进行封装

#import "BaseTableViewController.h"
#import "NetWorkerManager+ListedData.h"

@protocol CommonDataListProcol<NSObject>

-(NSDictionary *)param;

-(void)searchAction;

@optional
-(void)fetchParameter:(NSDictionary *)param;

@end

@interface CommonDataListViewController : BaseTableViewController

@property(nonatomic,copy)NSString *orgId;

//请求接口的路径
@property(nonatomic,copy)NSString *path;

//每个单元格数据模型的名称
@property(nonatomic,copy)NSString *modelClsName;

//需要呈现哪种类型的cell
@property(nonatomic,copy)NSString *cellClass;

//额外的参数，比如筛选条件等等
//@property(nonatomic,strong)NSDictionary *param;

//子类需要实现该方法
-(NSDictionary *)param;




@end
